home *** CD-ROM | disk | FTP | other *** search
- BODY {
- /*
- In order to provide a fixed scrolling area with a header and footer,
- the HTML tag must be styled.
- */
- margin:0;
- border:0;
- padding:0;
-
- height:100%;
- max-height:100%;
-
- background-color:#000060;
- color:#CCF;
-
- /* set default font characteristics */
- font-family:Verdana,"Trebuchet MS", Arial, sans-serif;
- font-size:10px;
-
- /* no scrolling allowed for a fixed page */
- overflow: hidden;
- }
-
- A:link {color:#ffffff;}
- A:visited {color:#ffffff;}
- A:hover {text-decoration: none; color: #0000ff;}
- A:active {text-decoration: none; color: #ffffff;}
-
- #HEADER {
- /*
- This section contains the page title text and main navigation tabs.
- This is also a fixed size area and must be styled as such.
- Any other fixed elements below this must be positioned accordingly.
-
- The actual height is set at the bottom of the page where all fixed
- height elements have their height attribute set.
- This helps keep these measurements in one place so updating is
- easier.
- */
- position:absolute;
- background:#0B2700 url("../graphics/main_bg.jpg") repeat-x left top;
- top:0;
- left:0;
- width:100%;
-
- /* no scrolling in the header. Any overlowed text will not be displayed.
- This allows easier alignment of graphical elements within the header
- as well as ensures no scrollbars will appear.
- */
- overflow:visible;
-
- /* default text attributes */
- color:#000000;
- padding:10px 0px 2px 0px;
- line-height:20px;
-
- /*
- Graphical elements here such as a background image for the header
- can be specified here.
- */
- }
- #FIXED_DIV {
- /*
- This section contains the popup window for the reminders.
- The actual content will be copied into it from the normal reminder area.
- It is designed to be displayed directly over the actual reminder area.
- In order to accomplish this it (and elements left of it)
- must be given a predetermined width so its ultimate location can be
- calculated using javascript.
- Its top setting must be determined according to any fixed elements above
- it (namely the header)
- It is initially hidden until needed.
- */
- position: absolute;
- display: block;
-
- left:320px;
- top:92px;
- width: 250px;
- height:200px;
-
- border: 1px solid #333333;
- border-top:0px;
-
- /* we want scrollbars if necessary */
- overflow:auto;
-
- /*
- although the content is using the same style as the regular reminder
- area, we'll set a different background color for effect.
- */
- background-color: #0B2700;
-
- /* padding and margin is a little different due to IE/Firefox differences */
- padding: 0px 0px 0px 4px;
- margin-left:3px;
-
- /* force it to appear on top */
- z-index:9990;
-
- /* initially hidden */
- display:none;
- }
- #FIXED_DIV A {color: #000000; text-decoration:none;}
- #FIXED_DIV A:visited {color: #000000;}
- #FIXED_DIV A:hover {text-decoration:underline;}
- #FIXED_DIV A:active {color: #000000;}
-
- #LOGO_HEADER {
- /*
- This DIV can contain an optional image to be displayed in the header area if desired.
- Typically this would be the GB-PVR logo and would appear at the far left of the header.
- This allows theme designers to use customized GB-PVR logos (or any other graphic) to
- blend better with a graphical theme.
- Must specify image dimensions to properly size this DIV.
- */
- display:inline;
- float:left;
-
- /*
- Set the dimensions so other elements will align to it.
- Typically this would be the dimensions of the image to
- appear here.
- */
- height:46px;
- width:47px;
-
- background: url(../Graphics/logo_header.png) no-repeat left;
- margin-top:-5px;
-
- /* if not using a graphic here make sure to hide this DIV */
- display:none;
- }
- #HEADER_TEXT {
- /* contains the GB-PVR header text
- If using only graphics in the header, this DIV
- can be hidden if desired so text is hidden.
- */
- margin-left:10px;
- padding-top:3px;
- color:#ffffff;
- }
- .textLarge {
- /* Text used for the main GB-PVR logo lettering */
- font-size:32px;
- font-weight:bold;
- color:#ffffff;
- }
- .textSmall {
- /* Text used for the main GB-PVR logo
- small lettering underneath the main text
- */
- font-size:11px;
- font-weight:normal;
- padding-left:3px;
- color:#ffffff;
- /* line-height:23px; */
- }
-
- #NAV_ROW {
- /*
- Main containing DIV for the navigation tabs. Must be
- absolutely positioned. Its top value is set farther down
- the page.
- */
- clear:both;
- position:absolute;
-
- width:100%;
- }
- #NAV_ROW A {
- /*
- Styling for the navigation tabs. If using a graphical theme, a background
- image can be used. If using simple text links without graphics, you can set
- default styling for simple buttons here.
- */
- font-size: 11px;
- font-weight:bold;
- color: #000000;
- text-decoration: none;
-
- display: block;
-
- border: 1px solid #000000;
- margin: 4px -1px 0px 0px;
- padding: 2px 6px 0px 6px;
-
- background-color: #0066EE;
-
- white-space: nowrap;
- text-align: center;
-
- overflow: visible;
- }
- #NAV_ROW A:visited {color: #000000;}
- #NAV_ROW A:hover {background-color: #00BBFF;}
- #NAV_ROW A:active {color: #000000;}
-
- #NAV_ROW .currentTab A {
- /*
- Styling for the tab for the current page. Usually this is highlighted
- in some way to identify which page the user is on.
- */
- padding: 2px 6px 0px 6px;
- margin-top:0px;
- margin-left:0px;
-
- background-color: #00BBFF;
- color: #000000;
-
- border: 3px solid #000000;
- }
- #NAV_ROW .currentTab A:visited {color: #000000;}
- #NAV_ROW .currentTab A:hover {color: #000000; background-color: #00BBFF;}
- #NAV_ROW .currentTab A:active {color: #000000;}
-
- #NAV_GUIDE A, #NAV_RECORDINGS A, #NAV_SEARCH A, #NAV_VIDEO A, #NAV_MUSIC A, #NAV_PHOTO A {
- /* consolidate attributes for all the main navigation tabs on the LEFT side */
- float:left;
- }
- #NAV_CONFIG A, #NAV_LOGOUT A, #NAV_STATS A {
- /* consolidate attributes for all the main navigation tabs on the RIGHT side */
- float:right;
- margin-right: 0px;
- margin-left:-1px;
- }
- /*
- Set z-index values for each tab below so any overlapping is properly handled
- Depending on the style of the theme, this may not be necessary.
- */
- #NAV_RECORDINGS {
- z-index:80;
- }
- #NAV_SEARCH {
- z-index:70;
- }
- #NAV_VIDEO {
- z-index:60;
- }
- #NAV_MUSIC {
- z-index:50;
- }
- #NAV_PHOTO {
- z-index:40;
- }
- /* right-aligned buttons */
- #NAV_CONFIG {
- z-index:20;
- }
- #NAV_STATS {
- z-index:30;
- }
- #NAV_LOGOUT {
- z-index:40;
- }
- #DIV_DATELINE, #DIV_HEADER, #DIV_CONTENTS, #DIV_FOOTER {
- /*
- These are the divider lines that appear between content sections.
- They MUST be absolutely positioned to keep the scroll area properly positioned.
-
- They can individually be hidden if desired or completely themed with a graphical style.
- If hidden, make sure to adjust absolute positioning of other affected sections.
- */
- position:absolute;
- left: 0px;
-
- height:1px;
- width:100%;
-
- color:#000000;
- background-color:#000000;
- overflow:hidden;
- padding:0;
- margin:0;
-
- z-index:500;
- }
- #DATELINE {
- /*
- This DIV contains the server time (for all pages). Other content is variable by page.
- It must be absolutely positioned because it is not part of the scrollable area.
- */
- position:absolute;
- width:100%;
-
- left:0px;
-
- overflow: hidden;
- background-color: #0B2700;
- color:#000000;
-
- border-left: 1px solid #000000;
- z-index:7;
- }
- #DATE_TIME {
- /* Styling for the text area in #DATELINE. Typically server time and maybe current date */
- position:absolute;
- float:right;
- top:0px;
- right:0px;
- float:right;
- height:40px;
- margin-right:3px;
- overflow: hidden;
- color:#ffffff;
- }
- .timeDiv {
- /* styling for the server time */
- font: 10px;
- text-align:right;
- padding-top:4px;
- }
- .viewingDate {
- /* styling for the current date found underneath the server time */
- font-size: 14px;
- font-weight:bold;
- padding-top:2px;
- }
- #REMINDER_LABEL {
- /*
- Area containing the label text for the reminder area. This area can be
- made clickable to show/hide the expanded popup div
- */
- position: relative;
- float:left;
- display: inline-block;
-
- top: 0px;
- width: 60px;
- height:40px;
-
- font-size: 11px;
- margin-left:2px;
- margin-right:5px;
- _margin-right:0px;
- padding-top:3px;
- color:blue;
- }
- #REMINDER_LABEL A {
- /* styling for text links within #REMINDER_LABEL */
- text-decoration: none;
- display: inline-block;
- color: #0000ff;
- }
- #REMINDER_LABEL A:visited {color: #0000ff;}
- #REMINDER_LABEL A:hover {text-decoration:underline;}
- #REMINDER_LABEL A:active {color: #0000ff;}
- #REMINDER_DIV {
- /*
- Contains current reminders. This div will be hidden when there are no reminders.
- */
- position: relative;
- display:inline-block;
- float:left;
-
- top: 0px;
- width:220px;
-
- font-size: 11px;
- overflow: auto;
- margin-left:5px;
- padding: 0px 0px 0px 0px;
- }
- #REMINDER_DIV A {
- /* default styling for the links in the reminder area */
- text-decoration:none;
- color: #000000;
- }
- #REMINDER_DIV a:visited {color: #000000;}
- #REMINDER_DIV a:hover {text-decoration:underline;}
- #REMINDER_DIV a:active {color: #000000;}
- .timeHighlight {
- /* styling for the show time for a reminder */
- font-weight:bold;
- }
- #CONTENTS {
- /*
- This is the main section containing the individual page contents. Because of the fixed positioning of
- the header and footer area, this section is scrollable. This would perform similar to a framed page.
- The top AND bottom values must be specified because of the fixed styling.
-
- Top would typically be the height of all the fixed elements above it.
- Bottom is typically the height of the footer.
-
- Top and Bottom values are set within the style sheet of each individual page seeing as each page's content
- can vary.
- */
- position:fixed;
-
- left:0;
- right:0;
-
- /* must be auto to enable scrolling */
- overflow:auto;
-
- background-color:#000060;
- clear: both;
-
- /*
- Must specify these values in IE for proper scrolling behavior.
- (Setting these values in firefox results in scrolling problems.)
- It's a hack, but it works. Much simpler than designing and maintaining
- separate style sheets for IE and Firefox!
- */
- _height:100%;
- _width:100%;
- }
- #FOOTER {
- /*
- footer must be absolutely sized and positioned in order to maintain the fixed
- scrolling behavior of the overall page. Other fixed elements must adjust according to
- the height of this section.
- */
- width:100%;
-
- position:absolute;
- display: inline-block;
-
- bottom:0px;
- left:0px;
- right:0;
-
- overflow:auto;
- background-color:#000060;
- white-space: nowrap;
- }
- #FOOTER_LEFT {
- /* The footer is divided into a left and right section */
- float:left;
- left:0px;
-
- white-space: nowrap;
- z-index:5004;
- }
- #FOOTER_RIGHT {
- /*
- The footer is divided into a left and right section.
- The right section is right-aligned for aesthetics.
- */
- float:right;
- top:0px;
- right:0px;
- z-index:5002;
- }
- .legendPending, .legendInProgress, .legendAvailable, .legendFailed, .legendConflict, .legendReoccurring, .legendDeleted {
- /*
- Styling for the small coloring guide legends in the footer area.
- */
- display: inline-block;
- float:left;
-
- border:1px solid #000000;
- margin:5px 0px 0px 5px;
- padding:2px 8px 2px 8px;
- white-space: nowrap;
- }
- .legendPending {
- background-color: #FF9944;
- color:#000000;
- }
- .legendInProgress {
- background-color: #33EE00;
- color:#000000;
- }
- .legendAvailable {
- background-color: #33AA11;
- color:#000000;
- }
- .legendFailed {
- background-color: #FF0000;
- color:#000000;
- }
- .legendConflict {
- background-color: #FFFF11;
- color:#000000;
- }
- .legendReoccurring {
- background-color: #CC77BB;
- color:#000000;
- }
- .legendDeleted {
- background-color: #CCCC99;
- color:#000000;
- }
- #CREDITS_LINKS {
- /* Styling for the main credits and GB-PVR links within the footer area. */
- padding: 15px 5px 0px 0px;
- font-size:9px;
- bottom:0px;
- overflow:visible;
- font-variant: normal;
- color: #606060;
- }
- #CREDITS_LINKS A {color: #0000ff; text-decoration: none;}
- #CREDITS_LINKS A:visited {color: #0000ff;}
- #CREDITS_LINKS A:hover {color: #0000ff; text-decoration: underline;}
- #CREDITS_LINKS A:active {color: #0000ff;}
-
- /*
- *********************************************************************************************************************
- Absolute Positioning and Height
-
- These values are consolidated into one place to make it easier to change size attributes seeing as changing
- any one of these values can affect all the others.
-
- These values are the key values for maintaining proper size, positioning and scrolling behavior.
- *********************************************************************************************************************
- */
-
- #HEADER {
- /*
- The height of the entire header area from page top to the bottom of the navigation tabs.
- The actual nav tabs are floated within this div.
- */
- height:92px;
- }
- #NAV_ROW {
- /*
- The is the row containing the navigation tabs.
- It is typically positioned at the bottom of the header
- */
- top:62px;
- }
- #NAV_ROW, #NAV_ROW A {
- /* determines the height of the main navigation tabs */
- height:32px;
- }
- #DIV_DATELINE {
- /*
- This is the divider line between the main header above and the section containing the server time
- */
- top:91px;
- }
- #DATELINE {
- /*
- This is the section containing the server time, date, etc.
- */
- top:92px;
- height:40px;
- }
- #REMINDER_DIV {
- /* Height of these individual elements would be the same as #DATELINE above */
- height:40px;
- }
- #DIV_HEADER {
- /*
- This is the divider line between the date section above and the main content area
- */
- top:132px;
- }
- #DIV_CONTENTS {
- /*
- This is A divider line between any fixed top section within the content area and the content itself.
- This is typically used in the guide page to separate the showtime header from the content.
- In other pages which don't need this functionality it can simply be hidden.
- */
- top:133px;
- }
- #CONTENTS {
- /*
- This is the main content area.
- To ensure proper scrolling behavior it MUST be absolutely positioned.
- Both top and bottom values must be specified.
- Top value would be the height of all foxed content above it.
- Bottom value would be the height of the footer area minus the height of the divider for the footer.
- */
- top:133px;
- bottom:49px;
- }
- #DIV_FOOTER {
- /*
- The divider between the main content area and the footer.
- It must be absolutely positioned.
- The bottom value would typically be the same as the height of the footer
- */
- bottom:50px;
- }
- #FOOTER {
- /*
- Fixed area at the bottom of every page. This must be absolutely posiitioned for proper scrolling
- Certain content will always be contained in this section such as standard GB-PVR documentation links and credits,
- but it contains and left and right section which can be customized on each page.
-
- If the size of the footer changes make sure to adjust the content area's bottom value as well as the
- divider section for the footer.
- */
- height:50px;
- }
-